home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4003 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  833 b 

  1. Path: news.bellglobal.com!stupy
  2. From: stupy@freenet.durham.org (Steve Tupy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Using own stacks with borlandc
  5. Date: 29 Jan 1996 14:48:23 GMT
  6. Organization: Durham Free-Net
  7. Message-ID: <4eimnn$330@news.bellglobal.com>
  8. References: <4ef339$24q@thor.atcon.com>
  9. NNTP-Posting-Host: 204.101.165.17
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Konrad Byers (aa176@ccn.cs.dal.ca) wrote:
  13. : Are there any special compiler options I should be using to set up my
  14. : own stack in Borlandc. How about assume ds=ss? What should this one
  15. : be? I'm using a huge memory model.
  16.  
  17.     In Borland you use an external called _stklen.... eg.
  18.  
  19. unsigned external stklen = <value>;
  20.  
  21.     ...where value is anything up to 64K. It defaults to 4096 unless you
  22. alter it. This declaration could be right above your main block.
  23.  
  24. Take care!
  25.  
  26. --
  27. Steve
  28.